theme = hicolor
themedir = $(datadir)/icons/$(theme)
theme_icons = \
	apps,music-player-banshee.svg \
	apps,music-player-banshee-16.png \
	apps,music-player-banshee-22.png \
	apps,music-player-banshee-24.png \
	apps,music-player-banshee-32.png

install_icon_exec = $(top_srcdir)/build/icon-theme-installer \
	-t "$(theme)" \
	-s "$(srcdir)" \
	-d "x$(DESTDIR)" \
	-b "$(themedir)" \
	-m "$(mkinstalldirs)" \
	-x "$(INSTALL_DATA)"

install-data-local:
	@-$(install_icon_exec) -i $(theme_icons)

uninstall-hook: 
	@-$(install_icon_exec) -u $(theme_icons)
	
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = $(wildcard *.png *.svg)

